<%@taglib uri="/struts-tags" prefix="s"%>
<jcpsm:pageContainer>
<div class="content">


<h1 class="title">Register <span>User</span></h1>
<div id="registrationDiv" style="width:330px; margin-top: 10px">
<s:if test="%{message not empty}">
	<s:property value="%{message"/>
</s:if>
<s:form action="addUser">
	<s:actionerror/>
	
	<table class="track_table">
		<tr>
			<td>Name*</td>
			<td><s:textfield name="name" cssClass="syle_input mrgbtm5 width_200" theme="simple"/></td>
		</tr>
		<tr>
			<td>Email*</td>
			<td><s:textfield name="emailId" cssClass="syle_input mrgbtm5 width_200" theme="simple"/></td>
		</tr>
		<tr>
			<td>Password*</td>
			<td><s:password name="password" cssClass="syle_input mrgbtm5 width_200" theme="simple"/></td>
		</tr>
		<tr>
			<td>Confirm password*</td>
			<td><s:password name="confPassword" cssClass="syle_input mrgbtm5 width_200" theme="simple"/></td>
		</tr>
				<tr>
			<td>Oracle ID*</td>
			<td><s:textfield name="oracleId"  cssClass="syle_input mrgbtm5 width_200" theme="simple"/></td>
		</tr>
		<tr>
			<td>Phone number*</td>
			<td><s:textfield name="phoneNumber" cssClass="syle_input mrgbtm5 width_200" theme="simple"/></td>
		</tr>
		<tr>
			<td>Gender</td>
			<td><s:radio name="gender" list="{'Male','Female'}" cssClass="syle_input mrgbtm5 width_60" theme="simple"/></td>
		</tr>
		<tr>
			<td>Location</td>
			<td><s:select name="location" list="{'OffShore','Onsite'}" headerKey=""
		 label="Select a Location" cssClass="syle_input mrgbtm5 width_222" theme="simple"/></td>
		</tr>
		<tr>
			<td>Designation</td>
			<td><s:select name="designation" list="{'Associate', 'Sr.Associate', 'Manager', 'Sr.Manager', 'Director'}" 
	headerKey="" cssClass="syle_input mrgbtm5 width_222" theme="simple"/></td>
		</tr>
		<tr>
			<td>Buddy</td>
			<td><s:textfield name="buddyName" cssClass="syle_input mrgbtm5 width_200" theme="simple"/></td>
		</tr>
		<tr>
			<td>Primary Track</td>
			<td>
			<select id="track_selector" name="primaryTrack" class="syle_input width_200">
					<c:forEach var="track" items="${sessionScope.track}">
						<c:if test="${track.value.deleteFlag eq false}">
							<option value="${track.value.trackId}">${track.value.name}</option>
						</c:if>
					</c:forEach>
			</select>
			</td>
		</tr>
		<tr>
			<td>Contact Info</td>
			<td><s:textarea name="contactInfo" cssClass="syle_input mrgbtm5 width_200" theme="simple"/></td>
		</tr>
		<tr>
			<td colspan="2"><s:submit cssClass="stylebutton fltrgt mrgrgt20" value="Create"  theme="simple"/></td>
		</tr>
	</table>
	
</s:form>
</div>

</div>
</jcpsm:pageContainer>